package com.redxiii.spike.api.message;

import com.redxiii.spike.api.communication.CommunicationService;

/**
 * @author Daniel Filgueiras
 * 04/05/2011
 */
public interface MessageHandler {

	void init(CommunicationService service);
	
	void close();
	/**
	 * @param message
	 * @return TRUE if message was handled. FALSE if message is unknown
	 */
	boolean handle(Message message);
}
